package com.wz.project.bas.customerGroup.mapper;

import com.wz.project.bas.customerGroup.domain.BasCustomerGroup;

import java.util.List;

/**
 * 客户组Mapper接口
 * 
 * @author wz
 * @date 2022-02-10
 */
public interface BasCustomerGroupMapper 
{
    /**
     * 查询客户组
     * 
     * @param customerGroupNo 客户组ID
     * @return 客户组
     */
    public BasCustomerGroup selectBasCustomerGroupById(String customerGroupNo);

    /**
     * 查询客户组列表
     * 
     * @param basCustomerGroup 客户组
     * @return 客户组集合
     */
    public List<BasCustomerGroup> selectBasCustomerGroupList(BasCustomerGroup basCustomerGroup);

    /**
     * 新增客户组
     * 
     * @param basCustomerGroup 客户组
     * @return 结果
     */
    public int insertBasCustomerGroup(BasCustomerGroup basCustomerGroup);

    /**
     * 修改客户组
     * 
     * @param basCustomerGroup 客户组
     * @return 结果
     */
    public int updateBasCustomerGroup(BasCustomerGroup basCustomerGroup);

    /**
     * 删除客户组
     * 
     * @param customerGroupNo 客户组ID
     * @return 结果
     */
    public int deleteBasCustomerGroupById(String customerGroupNo);

    /**
     * 批量删除客户组
     * 
     * @param customerGroupNos 需要删除的数据ID
     * @return 结果
     */
    public int deleteBasCustomerGroupByIds(String[] customerGroupNos);
}
